package com.shf.lease.web.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.shf.lease.entity.FeeKey;
import com.shf.lease.result.Result;
import com.shf.lease.web.admin.controller.apartment.response.FeeKeyVo;
import com.shf.lease.web.admin.service.FeeKeyService;
import com.shf.lease.web.admin.mapper.FeeKeyMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 叶枫
* @description 针对表【fee_key(杂项费用名称表)】的数据库操作Service实现
* @createDate 2024-07-05 09:37:22
*/
@Service
public class FeeKeyServiceImpl extends ServiceImpl<FeeKeyMapper, FeeKey>
    implements FeeKeyService{

    @Resource
    private FeeKeyMapper feeKeyMapper;
    @Override
    public Result<List<FeeKeyVo>> getFeeList() {
        List<FeeKeyVo> list = feeKeyMapper.getFeeList();
        return Result.ok(list);
    }
}




